@import "./common";

html, body {
  height: 100%;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.content {
  padding: 20px 0;
  min-height: calc(100vh - 362px);
  background: rgb(248, 250, 252);
  .breadcrumb {
    .flex;
    justify-content: flex-start;
    font-size: 16px;
    color: #333;

    img {
      margin-right: 18px;
      opacity: .5;
    }

    a {
      color: #999;
    }
  }
  .container {
    width: 1200px;
    margin: 0 auto;
  }

}
.answer-content {
  padding-top: 40px;
  .flex(flex-start, flex-start);
  .answer-timer {
    margin-right: 30px;
    width: 360px;
    padding: 30px;
    background: #fff;
    border-top: 4px solid #0388f7;
    .top {
      .flex;
      justify-content: flex-start;
      margin-bottom: 20px;
      img {
        margin-right: 20px;
      }
      .time {
        span {
          .font-medium;
          font-size: 18px;
          color: #000000;
        }
        .time-bar {
          margin-top: 4px;
          .font-bold;
          font-size: 30px;
          line-height: 24px;
          color: #0388f7;
        }
      }
    }
    .answer-progress {
      margin-bottom: 16px;
      color: #666666;
    }
    .progress {
      height: 10px;
      background-color: #dfe4e9;
      border-radius: 10px;
      .progress-bar {
        height: 100%;
        background-color: #0388f7;
        border-radius: 10px;
      }
    }
  }
  .list {
    flex: 1;
    & > .title {
      margin-bottom: 50px;
      .font-bold;
      font-size: 18px;
      color: #333333;
      img {
        margin-right: 10px;
      }
    }
    .question-title {
      margin-bottom: 36px;
      font-size: 18px;
      .font-bold;
      letter-spacing: 0px;
      color: #374b5d;
      &.answer-title {
        margin-top: 30px;
      }
    }
    .question-content {
      padding: 20px;
      background: #fff;
      & > .title {
        margin-bottom: 20px;
        font-size: 16px;
        color: #333333;
      }
      .q-img {
        margin-bottom: 50px;
        width: 395px;
      }
      .selection-item {
        margin-bottom: 20px;
        .flex(flex-start, flex-start);
        cursor: pointer;
        &.active {
          .label {
            color: #fff;
            background: #1a96ff;
          }
        }
        .label {
          margin-right: 10px;
          .flex;
          width: 30px;
          height: 30px;
          color: #333;
          background: #f5f5f5;
          border-radius: 50%;
        }
        .value {
          & > section {
            line-height: 30px;
          }
          img {
            width: 180px
          }
        }
      }
    }
    .answer {
      padding: 20px;
      min-height: 200px;
      background: #fff;
      .empty {
        padding: 20px;
      }
    }
    .done {
      .flex;
      background: #fff;
      padding: 150px 0;
      flex-direction: column;
      &.code-done {
        padding: 100px 0;
      }
      .tips {
        margin: 40px 0;
        font-size: 16px;
        color: #999999;
      }
      .scores {
        .flex;
        flex-direction: column;
        width: 180px;
        height: 181px;
        border: 10px solid #30a4ed;
        border-radius: 50%;
        box-shadow: 0px 0px 8px 0px
        rgba(8, 133, 252, 0.52);
        .title {
          margin-bottom: 8px;
          font-size: 24px;
          color: #333333;
        }
        .score {
          font-size: 72px;
          &.code-score {
            font-size: 34px;
          }
          color: #0388f7;
        }
      }
      .btn {
        margin-top: 40px;
        .flex;
        width: 200px;
        height: 42px;
        background-image: linear-gradient(266deg,
        #1795ff 0%,
        #57aff8 100%),
        linear-gradient(
                #000000,
                #000000);
        background-blend-mode: normal,
        normal;
        border-radius: 21px;
        font-size: 16px;
        color: #ffffff;
      }
    }
    .buttons {
      margin-top: 60px;
      .flex;
      justify-content: flex-start;
      .btn {
        .flex;
        width: 200px;
        height: 42px;
        border-radius: 21px;
        background: #cccccc;
        &.prev {
          margin-right: 20px;
        }
        &.active {
          background-image: linear-gradient(266deg,
          #1795ff 0%,
          #57aff8 100%),
          linear-gradient(
                  #cccccc,
                  #cccccc);
          color: #fff;
          background-blend-mode: normal,
          normal;
        }
      }
    }
  }
}
.modal {
  .modal-content {
    .layui-form-item {
      padding: 0 15px;
      height: 54px;
      border: solid 2px #eeeeee;
      .flex;
      justify-content: space-between;
      &::after {
        display: none;
      }
      input {
        text-align: right;
        border: none;
      }
    }
    .tips {
      text-align: right;
      font-size: 16px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 52px;
      letter-spacing: 0px;
      color: #999999;
    }
    .desc {
      margin-top: 20px;
      text-align: left;
      font-size: 20px;
      line-height: 36px;
      color: #b5b5b5;
      background: #f8f8f8;
    }
    .appeal {
      padding: 20px;
      width: 629px;
      height: 279px;
      background-color: #f8f8f8;
      border-radius: 11px;
      border: none;
      resize: none;
    }
  }

  .title {
    margin-bottom: 6px;
    font-size: 22px;
    color: #333333;
    text-align: center;
    .font-medium;
  }

  .desc {
    margin-bottom: 28px;
    font-size: 18px;
    color: #666666;
    text-align: center;
  }

  .text {
    padding: 14px 16px;
    margin: 0 auto;
    width: 629px;
    height: 544px;
    background-color: #f8f8f8;
    border-radius: 11px;
    overflow: auto;
    font-size: 18px;
    line-height: 78px;
    letter-spacing: 0px;
    color: #999999;
  }
}

.footer {
  margin-top: 80px;
  padding-bottom: 50px;
  text-align: center;
  color: rgba(255, 255, 255, .71);
}
